package com.springboot.framework.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author SWF
 * @Date 2019/6/13 12:20
 **/
@Data
public class OrderDetailModel {
    @JsonProperty("orderDetailId")
    private Integer id;

    private String orderId;

    @JsonProperty("id")
    private Integer productId;

    private String productName;

    private String cover;

    private String introduction;

    private BigDecimal price;

    private Integer quantity;



    private String name = productName;

    private Integer stock = quantity;
}
